package com.mkjb.dto;

import com.mkjb.entity.User;

/**
 * Created by DingJie on 2017/5/16.
 */
public class UserFormDto extends UserDto {
    public UserFormDto() {
    }

    public UserFormDto(User user) {
        super(user);
    }

    public void update(User byUuid) {
        byUuid.setUsername(super.getUsername());
        byUuid.setPassword(super.getPassword());
        byUuid.setRoleList(super.getRoleList());
        byUuid.setEnable(super.isEnable());
    }
}
